﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TeacherEdit.aspx.cs" Inherits="School.SystemManage.WebPages.SchoolIntro.TeacherEdit" %>
<%@ Register TagPrefix="uc" TagName="TXTEditor" Src="~/Controls/TXTEditor.ascx"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../../css/right.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .dataTable input[type=text],select{ border:none;}
        select{ width:100px;}
        .td1{ text-align:right;}
        .tdButton{ text-align:center;}
        .tdPhoneText{ width:50px;}
        .tdPhone{ width:95px;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="container">
        <div class="title_bg">
            <div class="floatLeft title_text_div">学院概况 > 教师信息编辑</div> 
            <div class="clear"></div>
        </div>
        <div>
            <table class="dataTable">
                <tr>
                    <td class="td1">职务：</td>
                    <td class="td2">
                        <asp:DropDownList ID="ddl_Position" runat="server">
                            <asp:ListItem Value="0">院系领导</asp:ListItem>    
                            <asp:ListItem Value="1">院系教师</asp:ListItem>
                            <asp:ListItem Value="2">历任领导</asp:ListItem>                                                  
                        </asp:DropDownList>
                    </td>
                    <td rowspan="5" class="tdPhoneText">
                        <asp:Image ID="imgPhone" runat="server" /></td>
                </tr>
                <tr>
                    <td class="td1">职务名称：</td>
                    <td class="td2">
                        <asp:TextBox ID="txbPositionName" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td1">教学专业：</td>
                    <td class="td2">
                        <asp:DropDownList ID="ddl_Major" runat="server">
                            <asp:ListItem Value="0">会计</asp:ListItem>
                            <asp:ListItem Value="1">国贸</asp:ListItem>
                            <asp:ListItem Value="2">营销</asp:ListItem>
                            <asp:ListItem Value="3">国商</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="td1">教师姓名：</td>
                    <td class="td2">
                        <asp:TextBox ID="txbTeacherName" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="td1">上传照片：</td>
                    <td class="td2">
                        <asp:FileUpload ID="FileUpload1" runat="server" Width="400"/></td>
                </tr>
                <tr>
                    <td class="td1">详细信息：</td>
                    <td class="td2" colspan="2"><uc:TXTEditor runat="server" ID="editor" /></td>
                </tr>
                <tr>
                    <td colspan="3" class="td1 tdButton">
                        <asp:Button ID="tbnSubmit" runat="server" Text="提交" onclick="tbnSubmit_Click" />
                        <asp:Label ID="lblMsg" runat="server" Text="" CssClass="red"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
